import { defineComponent, h } from '@vue/runtime-core'
import planImg from '../../assets/images/plan.png'
export default defineComponent({
  props: {
    planInfo: {
      type: Object,
      default: {}
    }
  },
  render(ctx) {
    return h('Container', [h('Sprite', {
      texture: planImg, 
      x: ctx.planInfo.x,
      y: ctx.planInfo.y,
      width: ctx.planInfo.width,
      height: ctx.planInfo.height
    })])
  }
}) 